package com.wust.supermarket.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

@Getter
@Setter
@ToString
/**
 * 订单表
 */
public class Sale {
	/**
	 * 订单号
	 */
	private String saleId;

	/**
	 * 会员
	 */
	private Member member;

	/**
	 * 商品
	 */
	private Merch merch;

	/**
	 * 商品数量
	 */
	private int merchNumber;

	/**
	 * 订单价格
	 */
	private float salePrice;

	/**
	 * 创建时间
	 */
	private Timestamp createTime;

	/**
	 * 更新时间
	 */
	private Timestamp updateTime;
}
